using System;
using System.ComponentModel.DataAnnotations;

namespace WebApplication8.Data
{
    public class Lesson : AuditingEntityBase
    {
        public string BanJiId { get; set; }
        public BanJi BanJi { get; set; }
        public string EnterCode { get; set; }
        public string TeacherId { get; set; }
        public Teacher Teacher { get; set; }
    }
    public class LessonStudent : AuditingEntityBase
    {
        public string LessonId { get; set; }
        public Lesson Lesson { get; set; }
        public string StudentId { get; set; }
        public Student Student { get; set; }
    }
    public class Ask : AuditingEntityBase
    {
        public string Content { get; set; }
        public string Answer { get; set; }
        public string LessonId { get; set; }
        public Lesson Lesson { get; set; }
        public string StudentId { get; set; }
        public Student Student { get; set; }
        public int Score { get; set; }
        public string QuestionId { get; set; }
        [Display(Name = "问题")]
        public Question Question { get; set; }
    }
}
